package com.yisu.auction.api.domain.vo.activityPackageVos;

import org.omg.CORBA.PRIVATE_MEMBER;

import java.math.BigDecimal;
import java.util.List;

/**
 * author: 赵杰
 * Business Description：
 * createTime：2017/9/9
 */
public class NewActivitiesVo {
    private Long prizeId;

    private BigDecimal price;

    private String transactionPrice;

    private String image;

    private String name;

    private String newActivitiesRule;//新手活动规格

    private String userAgreement;//用户协议

    private List<NewActivitiesRechargeRuleVo> activitiesRechargeRuleVos;

    public Long getPrizeId() {
        return prizeId;
    }

    public void setPrizeId(Long prizeId) {
        this.prizeId = prizeId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getTransactionPrice() {
        if(transactionPrice==null)
            return "0";
        return transactionPrice;
    }

    public void setTransactionPrice(String transactionPrice) {
        this.transactionPrice = transactionPrice;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNewActivitiesRule() {
        return "活动规则\n" +
                "1.本活动每个日仅限参与一次。\n" +
                "2.用户通过活动页面对新手商品充值连拍即参与活动成功，若连拍商品未中，将返还相应数量的赠币，拍中则不返。\n" +
                "3.若拍中商品连拍次数未用完，未使用次数将拍币形式退回至我的拍币月；\n" +
                "4.本活动最终解释权归疯狂竞拍所有\n";
    }

    public void setNewActivitiesRule(String newActivitiesRule) {
        this.newActivitiesRule = newActivitiesRule;
    }

    public List<NewActivitiesRechargeRuleVo> getActivitiesRechargeRuleVos() {
        return activitiesRechargeRuleVos;
    }

    public void setActivitiesRechargeRuleVos(List<NewActivitiesRechargeRuleVo> activitiesRechargeRuleVos) {
        this.activitiesRechargeRuleVos = activitiesRechargeRuleVos;
    }

    public String getUserAgreement() {
        return userAgreement;
    }

    public void setUserAgreement(String userAgreement) {
        this.userAgreement = userAgreement;
    }
}
